package com.sharemarking.wa.platform.dto.receiptManagement;

import java.util.Date;

/**
 * @author dxy
 */
public class ReceiptListDto {
    private Integer id;
    private Integer amount;
    private String receiptHead;
    private Integer type;
    private Integer state;
    private Date createDate;

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public String getReceiptHead() {
        return receiptHead;
    }

    public void setReceiptHead(String receiptHead) {
        this.receiptHead = receiptHead;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Long getCreateDate() {
        if (createDate!=null){
            return createDate.getTime();
        }
       return null;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
}
